<template>
    <l-page>
        <l-navbar title="员工身份验证"></l-navbar>
        <view class="panel">
            <view class="text-center text-sm text-gray-300 mb-3">输入员手机号码开始查询</view>
            <l-input v-model="mobile" />
            <l-button class="mt-3" @tap="query">查询</l-button>
        </view>
        <!-- <view class="panel" >
            <view>
                未找到该员工信息
            </view>
            <view>
                <text class="font-bold">温馨提示:</text>如此人以我司员工身份与您办理业务，请谨慎接洽，并致电我司核实:13622888869
            </view>
        </view> -->
    </l-page>
</template>
<script setup lang="ts">
import Loan from "@/stores/loan"
import { ref } from "vue";
const loan = Loan(), mobile = ref(''), result = ref<any>({})
const query = () => {
    loan.queryinfo(mobile.value).then((res) => {
        result.value = res
    })
}
</script>